package ThreadDome;
public class Dome5 {
    public static void main(String[] args) {
        Thread t = new Thread(new Runnable() {
            @Override
            public void run() {
                for (int i = 0; i < 5; i++) {
                    System.out.println("线程启动");
                }
            }
        });
        t.start();
        System.out.println("main线程启动");
    }
}
